package kr.hkit.powerjava.chapter4;

import java.util.Scanner;

public class Bugase {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		
		int b, t, v, c; // 받은돈, 상품총액, 부가세, 잔돈
		
		System.out.println("받은 돈을 입력하시오.");
		
		b = input.nextInt();
		t = 7500;
		v = t * 10/100;
		c = b - t;
		
		System.out.println("받은 돈 :" + b + "\n상품의 총액 :" + t +"\n부가세 :" + v + "\n잔돈 :" + c);
		
		
	}

}
